# coding:utf-8
import web
import MySQLdb

urls=(
      '/(.*)','index'
)

app=web.application(urls,globals())

class index:
  def GET(self, name):
    f=open("chart.html")
    data=f.read()
    return data
    #lines = f.readlines()
     
    res="<sts>"
    for i in lines:
      seq = i.strip().split()
      tmp = "<st code='%s' name='%s'/>" % (seq[0], seq[1])
      res += tmp;
    res+="</sts>"
    return res
    #return 'hello webpy %s -- %s %s' % (name,type(web.input()),web.input())

if __name__=='__main__':
  app.run()
